package com.ruoyi.game.service;

import java.util.List;
import com.ruoyi.game.domain.GamePacketRecord;

/**
 * 红包记录Service接口
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public interface IGamePacketRecordService 
{
    /**
     * 查询红包记录
     * 
     * @param packetId 红包记录主键
     * @return 红包记录
     */
    public GamePacketRecord selectGamePacketRecordByPacketId(Long packetId);

    /**
     * 查询红包记录列表
     * 
     * @param gamePacketRecord 红包记录
     * @return 红包记录集合
     */
    public List<GamePacketRecord> selectGamePacketRecordList(GamePacketRecord gamePacketRecord);

    /**
     * 新增红包记录
     * 
     * @param gamePacketRecord 红包记录
     * @return 结果
     */
    public int insertGamePacketRecord(GamePacketRecord gamePacketRecord);

    /**
     * 修改红包记录
     * 
     * @param gamePacketRecord 红包记录
     * @return 结果
     */
    public int updateGamePacketRecord(GamePacketRecord gamePacketRecord);

    /**
     * 批量删除红包记录
     * 
     * @param packetIds 需要删除的红包记录主键集合
     * @return 结果
     */
    public int deleteGamePacketRecordByPacketIds(Long[] packetIds);

    /**
     * 删除红包记录信息
     * 
     * @param packetId 红包记录主键
     * @return 结果
     */
    public int deleteGamePacketRecordByPacketId(Long packetId);
}
